package com.hxzy.bean;

public enum UserState {
    //列举出枚举所有的情况
    NORMAL(1,"正常"),
    UN_ACTIVE(2, "未激活"),
    LOCKED(3,"被锁定"),
    DELETE(4, "注销");


    private int state;
    private String desc;

    UserState(int state, String desc) {
        this.state = state;
        this.desc = desc;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }}
